package com.jcxh.sg_exam.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jcxh.sg_exam.pojo.User;
import com.jcxh.sg_exam.pojo.vo.UserKaochangVo;
import com.jcxh.sg_exam.service.UserService;
import com.jcxh.sg_exam.mapper.UserMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
* @author lenovo
* @description 针对表【user】的数据库操作Service实现
* @createDate 2024-08-07 15:00:19
*/
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User>
    implements UserService{

    @Autowired
    private  UserMapper userMapper;

    @Override
    public List<UserKaochangVo> getUserKaoChangs(Integer userId) {
        return userMapper.getUserKaoChangs(userId);
    }
}




